package com.skytech.tax.customsdatawarehouse.singlewindow.taxhandle.resource;

import com.skytech.tax.customsdatawarehouse.singlewindow.taxhandle.domain.service.GuaranteeMoneyService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Lianhong
 * @since 2026/6/9
 * @desc 保证金数据仓储接口
 */
@RestController
@RequestMapping("/single-window/guarantee-money")
public class GuaranteeMoneyController {

    @Resource
    private GuaranteeMoneyService guaranteeMoneyService;

    /**
     * 保存保证金信息
     *
     * @param guaranteeMoney 保证金信息
     */
    @PostMapping
    public void saveGuaranteeMoney(@RequestBody String guaranteeMoney) {
        guaranteeMoneyService.save(guaranteeMoney);
    }
}
